package com.example.test1.mapper;

import com.example.test1.bean.UserBean;
import com.example.test1.bean.UserImgBean;

import java.util.List;

public interface UserMapper {
    List<UserImgBean> getUserTmgsById(int user_id);
    int insertUserImg(UserImgBean userImgBean);
    int delUserImg(String id);
    List<UserBean> selectUser4Page();

    int updateUser(UserBean userBean);
    UserBean getUserById(int id);
    //删除用户
    int deleteUser(int id);
    int insertUser(UserBean userBean);
    //查询所有用户
    List<UserBean> getAllUser();
    UserBean getInfo(String name, String password);
}
